package com.yisoo.ubag.iot.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 
 * 
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-03-07 13:09:16
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class HeartStatusMqttContentVo{
//	{msg:"heart",code:200,gps:"",bat:6.596777,hum:31.0,tem:21.5,stu:1,nbao:0,wbao:0}
	private String deviceName;
	private String productKey;
	@JSONField(name = "msg")
	private String msg;
	@JSONField(name = "code")
	private Integer msgCode;
	@JSONField(name = "gps")
	private String gps;
	@JSONField(name = "bat")
	private Double battery;
	@JSONField(name = "hum")
	private Double hum;
	@JSONField(name = "tem")
	private Double tem;
	@JSONField(name = "stu")
	private Integer status;
	@JSONField(name = "wbao")
	private Integer wbao;
	@JSONField(name = "nbao")
	private Integer nbao;
}
